<!-- HTML header for doxygen 1.8.6-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<title>OpenCV: cv::text::ERStat Struct Reference</title>
<link href="../../opencv.ico" rel="shortcut icon" type="image/x-icon" />
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<script type="text/javascript" src="../../tutorial-utils.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js", "TeX/AMSmath.js", "TeX/AMSsymbols.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
//<![CDATA[
MathJax.Hub.Config(
{
  TeX: {
      Macros: {
          matTT: [ "\\[ \\left|\\begin{array}{ccc} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{array}\\right| \\]", 9],
          fork: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ \\end{array} \\right.", 4],
          forkthree: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ \\end{array} \\right.", 6],
          forkfour: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ #7 & \\mbox{#8}\\\\ \\end{array} \\right.", 8],
          vecthree: ["\\begin{bmatrix} #1\\\\ #2\\\\ #3 \\end{bmatrix}", 3],
          vecthreethree: ["\\begin{bmatrix} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{bmatrix}", 9],
          cameramatrix: ["#1 = \\begin{bmatrix} f_x & 0 & c_x\\\\ 0 & f_y & c_y\\\\ 0 & 0 & 1 \\end{bmatrix}", 1],
          distcoeffs: ["(k_1, k_2, p_1, p_2[, k_3[, k_4, k_5, k_6 [, s_1, s_2, s_3, s_4[, \\tau_x, \\tau_y]]]]) \\text{ of 4, 5, 8, 12 or 14 elements}"],
          distcoeffsfisheye: ["(k_1, k_2, k_3, k_4)"],
          hdotsfor: ["\\dots", 1],
          mathbbm: ["\\mathbb{#1}", 1],
          bordermatrix: ["\\matrix{#1}", 1]
      }
  }
}
);
//]]>
</script><script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
<link href="../../stylesheet.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<!--#include virtual="/google-search.html"-->
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="../../opencv-logo-small.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">OpenCV
   &#160;<span id="projectnumber">4.5.2</span>
   </div>
   <div id="projectbrief">Open Source Computer Vision</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('../../',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../d2/d75/namespacecv.html">cv</a></li><li class="navelem"><a class="el" href="../../d8/de7/namespacecv_1_1text.html">text</a></li><li class="navelem"><a class="el" href="../../db/d20/structcv_1_1text_1_1ERStat.html">ERStat</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="../../d5/dcf/structcv_1_1text_1_1ERStat-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">cv::text::ERStat Struct Reference<div class="ingroups"><a class="el" href="../../d4/d61/group__text.html">Scene Text Detection and Recognition</a> &raquo; <a class="el" href="../../da/d56/group__text__detect.html">Scene Text Detection</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>The <a class="el" href="../../db/d20/structcv_1_1text_1_1ERStat.html" title="The ERStat structure represents a class-specific Extremal Region (ER). ">ERStat</a> structure represents a class-specific Extremal Region (ER).  
 <a href="../../db/d20/structcv_1_1text_1_1ERStat.html#details">More...</a></p>

<p><code>#include &lt;opencv2/text/erfilter.hpp&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a34d3b4942b555621de67378df8201648"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d20/structcv_1_1text_1_1ERStat.html#a34d3b4942b555621de67378df8201648">ERStat</a> (int <a class="el" href="../../db/d20/structcv_1_1text_1_1ERStat.html#aa7e9fa13d1173ba688b3550f959be364">level</a>=256, int <a class="el" href="../../db/d20/structcv_1_1text_1_1ERStat.html#adba2ef41119cfbb88742c646ee2e5d19">pixel</a>=0, int x=0, int y=0)</td></tr>
<tr class="memdesc:a34d3b4942b555621de67378df8201648"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="#a34d3b4942b555621de67378df8201648">More...</a><br /></td></tr>
<tr class="separator:a34d3b4942b555621de67378df8201648"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ade1cf45138c7b31dc82e98adb2627ca5"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d20/structcv_1_1text_1_1ERStat.html#ade1cf45138c7b31dc82e98adb2627ca5">~ERStat</a> ()</td></tr>
<tr class="memdesc:ade1cf45138c7b31dc82e98adb2627ca5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="#ade1cf45138c7b31dc82e98adb2627ca5">More...</a><br /></td></tr>
<tr class="separator:ade1cf45138c7b31dc82e98adb2627ca5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a088c399363a9a5fb049a8d332ce4483e"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d20/structcv_1_1text_1_1ERStat.html#a088c399363a9a5fb049a8d332ce4483e">area</a></td></tr>
<tr class="memdesc:a088c399363a9a5fb049a8d332ce4483e"><td class="mdescLeft">&#160;</td><td class="mdescRight">incrementally computable features  <a href="#a088c399363a9a5fb049a8d332ce4483e">More...</a><br /></td></tr>
<tr class="separator:a088c399363a9a5fb049a8d332ce4483e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af0f94a7b3ef144f5d831cdbf7c2ea842"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d20/structcv_1_1text_1_1ERStat.html#af0f94a7b3ef144f5d831cdbf7c2ea842">central_moments</a> [3]</td></tr>
<tr class="memdesc:af0f94a7b3ef144f5d831cdbf7c2ea842"><td class="mdescLeft">&#160;</td><td class="mdescRight">order 2 central moments to construct the covariance matrix  <a href="#af0f94a7b3ef144f5d831cdbf7c2ea842">More...</a><br /></td></tr>
<tr class="separator:af0f94a7b3ef144f5d831cdbf7c2ea842"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a16d9f678b0d1822926c28f8db914b8cb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../db/d20/structcv_1_1text_1_1ERStat.html">ERStat</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d20/structcv_1_1text_1_1ERStat.html#a16d9f678b0d1822926c28f8db914b8cb">child</a></td></tr>
<tr class="separator:a16d9f678b0d1822926c28f8db914b8cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac2403bf2c45570b42a544f8a63052374"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d20/structcv_1_1text_1_1ERStat.html#ac2403bf2c45570b42a544f8a63052374">convex_hull_ratio</a></td></tr>
<tr class="separator:ac2403bf2c45570b42a544f8a63052374"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a36855f1539c64327dbef1fed241a8219"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt; std::deque&lt; int &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d20/structcv_1_1text_1_1ERStat.html#a36855f1539c64327dbef1fed241a8219">crossings</a></td></tr>
<tr class="memdesc:a36855f1539c64327dbef1fed241a8219"><td class="mdescLeft">&#160;</td><td class="mdescRight">horizontal crossings  <a href="#a36855f1539c64327dbef1fed241a8219">More...</a><br /></td></tr>
<tr class="separator:a36855f1539c64327dbef1fed241a8219"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad9b527f26b444a0a139f4b99d0134812"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d20/structcv_1_1text_1_1ERStat.html#ad9b527f26b444a0a139f4b99d0134812">euler</a></td></tr>
<tr class="memdesc:ad9b527f26b444a0a139f4b99d0134812"><td class="mdescLeft">&#160;</td><td class="mdescRight">Euler's number.  <a href="#ad9b527f26b444a0a139f4b99d0134812">More...</a><br /></td></tr>
<tr class="separator:ad9b527f26b444a0a139f4b99d0134812"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a00ec10ed2344021eddd593b09e1b857a"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d20/structcv_1_1text_1_1ERStat.html#a00ec10ed2344021eddd593b09e1b857a">hole_area_ratio</a></td></tr>
<tr class="memdesc:a00ec10ed2344021eddd593b09e1b857a"><td class="mdescLeft">&#160;</td><td class="mdescRight">2nd stage features  <a href="#a00ec10ed2344021eddd593b09e1b857a">More...</a><br /></td></tr>
<tr class="separator:a00ec10ed2344021eddd593b09e1b857a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa7e9fa13d1173ba688b3550f959be364"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d20/structcv_1_1text_1_1ERStat.html#aa7e9fa13d1173ba688b3550f959be364">level</a></td></tr>
<tr class="separator:aa7e9fa13d1173ba688b3550f959be364"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a07d1fb6d7d3ea7c129cedc76a2589ad4"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d20/structcv_1_1text_1_1ERStat.html#a07d1fb6d7d3ea7c129cedc76a2589ad4">local_maxima</a></td></tr>
<tr class="memdesc:a07d1fb6d7d3ea7c129cedc76a2589ad4"><td class="mdescLeft">&#160;</td><td class="mdescRight">whenever the regions is a local maxima of the probability  <a href="#a07d1fb6d7d3ea7c129cedc76a2589ad4">More...</a><br /></td></tr>
<tr class="separator:a07d1fb6d7d3ea7c129cedc76a2589ad4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3fbe891fbba61bdb6a07e062c72510bd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../db/d20/structcv_1_1text_1_1ERStat.html">ERStat</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d20/structcv_1_1text_1_1ERStat.html#a3fbe891fbba61bdb6a07e062c72510bd">max_probability_ancestor</a></td></tr>
<tr class="separator:a3fbe891fbba61bdb6a07e062c72510bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3acd75476c774c25b874b0aab2531ec2"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d20/structcv_1_1text_1_1ERStat.html#a3acd75476c774c25b874b0aab2531ec2">med_crossings</a></td></tr>
<tr class="memdesc:a3acd75476c774c25b874b0aab2531ec2"><td class="mdescLeft">&#160;</td><td class="mdescRight">median of the crossings at three different height levels  <a href="#a3acd75476c774c25b874b0aab2531ec2">More...</a><br /></td></tr>
<tr class="separator:a3acd75476c774c25b874b0aab2531ec2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaec3c9b6265724b67ebe16d24ddacd06"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../db/d20/structcv_1_1text_1_1ERStat.html">ERStat</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d20/structcv_1_1text_1_1ERStat.html#aaec3c9b6265724b67ebe16d24ddacd06">min_probability_ancestor</a></td></tr>
<tr class="separator:aaec3c9b6265724b67ebe16d24ddacd06"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a99afd32db6b306d2b62ae734897779f5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../db/d20/structcv_1_1text_1_1ERStat.html">ERStat</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d20/structcv_1_1text_1_1ERStat.html#a99afd32db6b306d2b62ae734897779f5">next</a></td></tr>
<tr class="separator:a99afd32db6b306d2b62ae734897779f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2b1f8919722218f49ae86bc00c48721e"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d20/structcv_1_1text_1_1ERStat.html#a2b1f8919722218f49ae86bc00c48721e">num_inflexion_points</a></td></tr>
<tr class="separator:a2b1f8919722218f49ae86bc00c48721e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aae48a9dbfb39eb84cfcf2e7677e7c4d0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../db/d20/structcv_1_1text_1_1ERStat.html">ERStat</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d20/structcv_1_1text_1_1ERStat.html#aae48a9dbfb39eb84cfcf2e7677e7c4d0">parent</a></td></tr>
<tr class="memdesc:aae48a9dbfb39eb84cfcf2e7677e7c4d0"><td class="mdescLeft">&#160;</td><td class="mdescRight">pointers preserving the tree structure of the component tree  <a href="#aae48a9dbfb39eb84cfcf2e7677e7c4d0">More...</a><br /></td></tr>
<tr class="separator:aae48a9dbfb39eb84cfcf2e7677e7c4d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a94ebcd24d58d1274a9a269bb55fb13dc"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d20/structcv_1_1text_1_1ERStat.html#a94ebcd24d58d1274a9a269bb55fb13dc">perimeter</a></td></tr>
<tr class="separator:a94ebcd24d58d1274a9a269bb55fb13dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adba2ef41119cfbb88742c646ee2e5d19"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d20/structcv_1_1text_1_1ERStat.html#adba2ef41119cfbb88742c646ee2e5d19">pixel</a></td></tr>
<tr class="memdesc:adba2ef41119cfbb88742c646ee2e5d19"><td class="mdescLeft">&#160;</td><td class="mdescRight">seed point and the threshold (max grey-level value)  <a href="#adba2ef41119cfbb88742c646ee2e5d19">More...</a><br /></td></tr>
<tr class="separator:adba2ef41119cfbb88742c646ee2e5d19"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4ac2c208273f2d37ad1dbc22a877ebe7"><td class="memItemLeft" align="right" valign="top">std::vector&lt; int &gt; *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d20/structcv_1_1text_1_1ERStat.html#a4ac2c208273f2d37ad1dbc22a877ebe7">pixels</a></td></tr>
<tr class="separator:a4ac2c208273f2d37ad1dbc22a877ebe7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a028cc98d3aaca0dbbbbc3434572cce57"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../db/d20/structcv_1_1text_1_1ERStat.html">ERStat</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d20/structcv_1_1text_1_1ERStat.html#a028cc98d3aaca0dbbbbc3434572cce57">prev</a></td></tr>
<tr class="separator:a028cc98d3aaca0dbbbbc3434572cce57"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5134258df86ded2fbbcc1bb4b64e325c"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d20/structcv_1_1text_1_1ERStat.html#a5134258df86ded2fbbcc1bb4b64e325c">probability</a></td></tr>
<tr class="memdesc:a5134258df86ded2fbbcc1bb4b64e325c"><td class="mdescLeft">&#160;</td><td class="mdescRight">probability that the ER belongs to the class we are looking for  <a href="#a5134258df86ded2fbbcc1bb4b64e325c">More...</a><br /></td></tr>
<tr class="separator:a5134258df86ded2fbbcc1bb4b64e325c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeb40fa3150e2408be0f98e3b541948b4"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d20/structcv_1_1text_1_1ERStat.html#aeb40fa3150e2408be0f98e3b541948b4">raw_moments</a> [2]</td></tr>
<tr class="memdesc:aeb40fa3150e2408be0f98e3b541948b4"><td class="mdescLeft">&#160;</td><td class="mdescRight">order 1 raw moments to derive the centroid  <a href="#aeb40fa3150e2408be0f98e3b541948b4">More...</a><br /></td></tr>
<tr class="separator:aeb40fa3150e2408be0f98e3b541948b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a08ac8ae42d4cbf36d67dcbe7e593e68c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../dc/d84/group__core__basic.html#ga11d95de507098e90bad732b9345402e8">Rect</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d20/structcv_1_1text_1_1ERStat.html#a08ac8ae42d4cbf36d67dcbe7e593e68c">rect</a></td></tr>
<tr class="separator:a08ac8ae42d4cbf36d67dcbe7e593e68c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>The <a class="el" href="../../db/d20/structcv_1_1text_1_1ERStat.html" title="The ERStat structure represents a class-specific Extremal Region (ER). ">ERStat</a> structure represents a class-specific Extremal Region (ER). </p>
<p>An ER is a 4-connected set of pixels with all its grey-level values smaller than the values in its outer boundary. A class-specific ER is selected (using a classifier) from all the ER's in the component tree of the image. : </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a34d3b4942b555621de67378df8201648"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a34d3b4942b555621de67378df8201648">&#9670;&nbsp;</a></span>ERStat()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">cv::text::ERStat::ERStat </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>level</em> = <code>256</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>pixel</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>x</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>y</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Constructor. </p>

</div>
</div>
<a id="ade1cf45138c7b31dc82e98adb2627ca5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ade1cf45138c7b31dc82e98adb2627ca5">&#9670;&nbsp;</a></span>~ERStat()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">cv::text::ERStat::~ERStat </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Destructor. </p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a088c399363a9a5fb049a8d332ce4483e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a088c399363a9a5fb049a8d332ce4483e">&#9670;&nbsp;</a></span>area</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int cv::text::ERStat::area</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>incrementally computable features </p>

</div>
</div>
<a id="af0f94a7b3ef144f5d831cdbf7c2ea842"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af0f94a7b3ef144f5d831cdbf7c2ea842">&#9670;&nbsp;</a></span>central_moments</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double cv::text::ERStat::central_moments[3]</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>order 2 central moments to construct the covariance matrix </p>

</div>
</div>
<a id="a16d9f678b0d1822926c28f8db914b8cb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a16d9f678b0d1822926c28f8db914b8cb">&#9670;&nbsp;</a></span>child</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../db/d20/structcv_1_1text_1_1ERStat.html">ERStat</a>* cv::text::ERStat::child</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ac2403bf2c45570b42a544f8a63052374"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac2403bf2c45570b42a544f8a63052374">&#9670;&nbsp;</a></span>convex_hull_ratio</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float cv::text::ERStat::convex_hull_ratio</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a36855f1539c64327dbef1fed241a8219"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a36855f1539c64327dbef1fed241a8219">&#9670;&nbsp;</a></span>crossings</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt;std::deque&lt;int&gt; &gt; cv::text::ERStat::crossings</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>horizontal crossings </p>

</div>
</div>
<a id="ad9b527f26b444a0a139f4b99d0134812"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad9b527f26b444a0a139f4b99d0134812">&#9670;&nbsp;</a></span>euler</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int cv::text::ERStat::euler</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Euler's number. </p>

</div>
</div>
<a id="a00ec10ed2344021eddd593b09e1b857a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a00ec10ed2344021eddd593b09e1b857a">&#9670;&nbsp;</a></span>hole_area_ratio</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float cv::text::ERStat::hole_area_ratio</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>2nd stage features </p>

</div>
</div>
<a id="aa7e9fa13d1173ba688b3550f959be364"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa7e9fa13d1173ba688b3550f959be364">&#9670;&nbsp;</a></span>level</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int cv::text::ERStat::level</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a07d1fb6d7d3ea7c129cedc76a2589ad4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a07d1fb6d7d3ea7c129cedc76a2589ad4">&#9670;&nbsp;</a></span>local_maxima</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool cv::text::ERStat::local_maxima</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>whenever the regions is a local maxima of the probability </p>

</div>
</div>
<a id="a3fbe891fbba61bdb6a07e062c72510bd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3fbe891fbba61bdb6a07e062c72510bd">&#9670;&nbsp;</a></span>max_probability_ancestor</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../db/d20/structcv_1_1text_1_1ERStat.html">ERStat</a>* cv::text::ERStat::max_probability_ancestor</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a3acd75476c774c25b874b0aab2531ec2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3acd75476c774c25b874b0aab2531ec2">&#9670;&nbsp;</a></span>med_crossings</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float cv::text::ERStat::med_crossings</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>median of the crossings at three different height levels </p>

</div>
</div>
<a id="aaec3c9b6265724b67ebe16d24ddacd06"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaec3c9b6265724b67ebe16d24ddacd06">&#9670;&nbsp;</a></span>min_probability_ancestor</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../db/d20/structcv_1_1text_1_1ERStat.html">ERStat</a>* cv::text::ERStat::min_probability_ancestor</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a99afd32db6b306d2b62ae734897779f5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a99afd32db6b306d2b62ae734897779f5">&#9670;&nbsp;</a></span>next</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../db/d20/structcv_1_1text_1_1ERStat.html">ERStat</a>* cv::text::ERStat::next</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a2b1f8919722218f49ae86bc00c48721e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2b1f8919722218f49ae86bc00c48721e">&#9670;&nbsp;</a></span>num_inflexion_points</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float cv::text::ERStat::num_inflexion_points</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="aae48a9dbfb39eb84cfcf2e7677e7c4d0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aae48a9dbfb39eb84cfcf2e7677e7c4d0">&#9670;&nbsp;</a></span>parent</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../db/d20/structcv_1_1text_1_1ERStat.html">ERStat</a>* cv::text::ERStat::parent</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>pointers preserving the tree structure of the component tree </p>

</div>
</div>
<a id="a94ebcd24d58d1274a9a269bb55fb13dc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a94ebcd24d58d1274a9a269bb55fb13dc">&#9670;&nbsp;</a></span>perimeter</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int cv::text::ERStat::perimeter</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="adba2ef41119cfbb88742c646ee2e5d19"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adba2ef41119cfbb88742c646ee2e5d19">&#9670;&nbsp;</a></span>pixel</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int cv::text::ERStat::pixel</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>seed point and the threshold (max grey-level value) </p>

</div>
</div>
<a id="a4ac2c208273f2d37ad1dbc22a877ebe7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4ac2c208273f2d37ad1dbc22a877ebe7">&#9670;&nbsp;</a></span>pixels</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt;int&gt;* cv::text::ERStat::pixels</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a028cc98d3aaca0dbbbbc3434572cce57"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a028cc98d3aaca0dbbbbc3434572cce57">&#9670;&nbsp;</a></span>prev</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../db/d20/structcv_1_1text_1_1ERStat.html">ERStat</a>* cv::text::ERStat::prev</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a5134258df86ded2fbbcc1bb4b64e325c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5134258df86ded2fbbcc1bb4b64e325c">&#9670;&nbsp;</a></span>probability</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double cv::text::ERStat::probability</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>probability that the ER belongs to the class we are looking for </p>

</div>
</div>
<a id="aeb40fa3150e2408be0f98e3b541948b4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeb40fa3150e2408be0f98e3b541948b4">&#9670;&nbsp;</a></span>raw_moments</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double cv::text::ERStat::raw_moments[2]</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>order 1 raw moments to derive the centroid </p>

</div>
</div>
<a id="a08ac8ae42d4cbf36d67dcbe7e593e68c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a08ac8ae42d4cbf36d67dcbe7e593e68c">&#9670;&nbsp;</a></span>rect</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../dc/d84/group__core__basic.html#ga11d95de507098e90bad732b9345402e8">Rect</a> cv::text::ERStat::rect</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>opencv2/text/<a class="el" href="../../df/d05/erfilter_8hpp.html">erfilter.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- HTML footer for doxygen 1.8.6-->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Apr 2 2021 11:36:48 for OpenCV by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
<script type="text/javascript">
//<![CDATA[
addTutorialsButtons();
//]]>
</script>
</body>
</html>
